package com.itcast.trade.stock.admin.user.service;

import com.itcast.bulls.stock.common.exception.ComponentException;
import com.itcast.bulls.stock.entity.user.AccountWarnTemplate;
import com.itcast.bulls.stock.entity.user.AuthorityUser;

public interface IAccountWarnTemplateService {
    /**
     * 保存或更新模板
     * @param accountWarnTemplate
     * @param user
     */
    void saveTemplate(AccountWarnTemplate accountWarnTemplate, AuthorityUser user) throws ComponentException;
}
